IntlTest is a part-in-progress that was written to test various international aspects of ODF. So far it doesn’t do much, but the following features may be useful as sample code:
• Subclass of FW_CEditView that handles Japanese script and inline input
• Mixin class that manages a TSMDocument
• Japanese strings in resources
• Selection and content classes for text edit views
• Undoable commands for text editing: typing, cut, copy, paste, clear, drop
• Notification of text edit events
What’s missing:
• Ability to mix scripts within a text edit view
• Support for multiple data kinds is incomplete
• Font menu
• Tabbing between edit views doesn’t change the keyboard script reliably
• Undo/redo of typing is not totally reliable, especially in the Japanese edit view.
Description
IntlTest contains three edit text views and two static text views. The static and edit text views in the upper right of the window are both set to use the Osaka font and Japanese script. Input in the Japanese edit view uses the inline input method. The other text views are set to Roman fonts and script. The About Box also contains Japanese text.
If you run this part on a system lacking support for the Japanese script system, you won’t see any Japanese text, of course! Ç®ÇΩÇÃǵǛÇ≠ÇæÇ≥Ç¢ÅI